package com.ds.api.dao;

import java.util.List;
import java.util.Map;

import com.ds.api.model.DSAdvert;

public interface DSAdvertMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DSAdvert record);

    int insertSelective(DSAdvert record);

    DSAdvert selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DSAdvert record);

    int updateByPrimaryKey(DSAdvert record);
    
    List<DSAdvert> query(Map<String,Object> map);
}